<!--@Knockout-->
<div data-bind="dxButton: {
    text: 'Show toast',
    onClick: showToast
}"></div>
<div class="dx-fieldset">
    <div class="dx-field">
        <p>displayTime = <span data-bind="text: displayTimeValue"></span></p>
        <div data-bind="dxSlider: {
            min: 0,
            max: 5000,
            value: displayTimeValue
        }"></div>
    </div>
</div>
<div data-bind="dxToast: {
    message: 'Toast message',
    displayTime: displayTimeValue,
    visible: toastVisible
}"></div>
<!--/@Knockout-->
<!--@AngularJS-->
<div ng-controller="demoController" style="height:100%;">
    <div dx-button="{
        text: 'Show toast',
        onClick: showToast
    }"></div>
    <div class="dx-fieldset">
        <div class="dx-field">
            <p>displayTime = {{displayTimeValue}}</p>
            <div ng-model="displayTimeValue" dx-slider="{
                min: 0,
                max: 5000
            }"></div>
        </div>
    </div>
    <div dx-toast="{
        message: 'Toast message',
        bindingOptions: {
            displayTime: 'displayTimeValue',
            visible: 'toastVisible'
        }
    }"></div>
</div>
<!--/@AngularJS-->
<!--@jQuery-->
<div id="showButton"></div>
<div class="dx-fieldset">
    <div class="dx-field">
        <p>displayTime = <span id="displayTimeValue">2000</span></p>
        <div id="displayTimeSlider"></div>
    </div>
</div>
<div id="myToast"></div>
<!--/@jQuery-->